package cn.tedu.tea.service;

import cn.tedu.tea.domain.param.OrderAddressAddNewDTO;
import cn.tedu.tea.domain.param.OrderAddressUpdateDTO;
import cn.tedu.tea.domain.vo.OrderAddressListVO;
import cn.tedu.tea.domain.vo.OrderAddressStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IOrderAddressService {

    String STATUS_TEXT[] = {"显示", "隐藏"};

    void addNew(OrderAddressAddNewDTO orderAddressAddNewDTO);

    void deleteById(Integer id);

    void deleteByIds(Integer[] ids);

    void updateInfoById(OrderAddressUpdateDTO orderAddressUpdateDTO);

    OrderAddressStandardVO getStandardById(Integer id);

    List<OrderAddressListVO> list();

}
